package com.monitor.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * <p>
 * 物料表
 * </p>
 *
 * @author LX
 * @since 2018-09-08
 */
@TableName("erp_materiel")
public class ErpMateriel extends Model<ErpMateriel> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 客户ID
     */
    @TableField("customer_id")
    private Integer customerId;

    public Integer getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }


    /**
     * 库存 留存 状态
     */
    @TableField("kucunorliucun")
    private String kucunorliucun;

    public String getKucunorliucun() {
        return kucunorliucun;
    }

    public void setKucunorliucun(String kucunorliucun) {
        this.kucunorliucun = kucunorliucun;
    }

    /**
     * 仓库ID
     */
    @TableField("warehouse_id")
    private Integer warehouseId;
    /**
     * 物料属性信息 ID
     */
    @TableField("materiel_flow_id")
    private Integer materielFlowId;
    /**
     * 物料 生产编号
     */
    @TableField("materiel_production_id")
    private String materielProductionId;
    /**
     * 物料 DOT
     */
    @TableField("materiel_dot")
    private String materielDot;
    /**
     * 物料 入库日期
     */
    @TableField("materiel_storage_date")
    private String materielStorageDate;
    /**
     * 物料 入库价格
     */
    @TableField("materiel_storage_price")
    private Double materielStoragePrice;
    /**
     * 物料 是否装载上车0未上车
     */
    @TableField("materiel_load")
    private Integer materielLoad;
    /**
     * 物料 翻新状态0未翻新，1翻新1，2翻新2......
     */
    @TableField("materiel_refurbished")
    private Integer materielRefurbished;

    /**
     * 物料流转数量
     */
    @TableField("materiel_number")
    private Integer materielNumber;

    /**
     * 物料id
     */
    @TableField("materiel_id")
    private Integer materielId;
    /**
     * 物料 名称
     */
    @TableField("materiel_name")
    private String materielName;

    /**
     * 分组
     */
    @TableField("fenzu")
    private String fenzu;
    /**
     * 物料 品牌
     */
    @TableField("materiel_brand")
    private String materielBrand;
    /**
     * 物料 规格
     */
    @TableField("materiel_Specifications")
    private String materielSpecifications;
    /**
     * 物料 型号
     */
    @TableField("materiel_model")
    private String materielModel;
    /**
     * 物料 产地
     */
    @TableField("materiel_place")
    private String materielPlace;
    /**
     * 物料 状态
     */
    @TableField("materiel_state")
    private String materielState;
    /**F
     * 物料 单位
     */
    @TableField("materiel_unit")
    private String materielUnit;
//1:全部轮胎2:在车轮胎3:库存轮胎4:报废轮胎
    private Integer state;

    @TableField("materiel_eqcode")
    private String materielEqcode;

    @TableField("materiel_rfid")
    private String materielRfid;

    @TableField("materiel_taiyaid")
    private String materielTaiyaid;

    public String getMaterielTaiyaid() {
        return materielTaiyaid;
    }

    public void setMaterielTaiyaid(String materielTaiyaid) {
        this.materielTaiyaid = materielTaiyaid;
    }


    @TableField("qichutype")
    private String qichutype;

    public String getQichutype() {
        return qichutype;
    }

    public void setQichutype(String qichutype) {
        this.qichutype = qichutype;
    }
    
    @TableField("iszhi_neng")
    private Boolean zhiNeng;
    
    @TableField("corresponding_id")
    private Integer correspondingId;
    
    @TableField("istai")
    private Boolean tai;

    @TableField("materiel_invoice_type")
    private Integer materielInvoiceType;

    @TableField("delect_type")
    private  Integer delectType;

    public Integer getDelectType() {
        return delectType;
    }




    public void setDelectType(Integer delectType) {
        this.delectType = delectType;
    }

    public Integer getMaterielInvoiceType() {
		return materielInvoiceType;
	}

	public void setMaterielInvoiceType(Integer materielInvoiceType) {
		this.materielInvoiceType = materielInvoiceType;
	}

	public Boolean getZhiNeng() {
        return zhiNeng;
    }

    public void setZhiNeng(Boolean zhiNeng) {
        this.zhiNeng = zhiNeng;
    }

    public Boolean getTai() {
        return tai;
    }

    public void setTai(Boolean tai) {
        this.tai = tai;
    }

    public Integer getCorrespondingId() {
		return correspondingId;
	}

	public void setCorrespondingId(Integer correspondingId) {
		this.correspondingId = correspondingId;
	}

	public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    private transient ErpMaterielFlowMateriel materielFlowMateriel;

    private transient ErpCarTireArchives carTireArchives;

    public String getMaterielName() {
        return materielName;
    }

    public void setMaterielName(String materielName) {
        this.materielName = materielName;
    }

    public String getFenzu() {
        return fenzu;
    }

    public void setFenzu(String fenzu) {
        this.fenzu = fenzu;
    }

    public String getMaterielBrand() {
        return materielBrand;
    }

    public void setMaterielBrand(String materielBrand) {
        this.materielBrand = materielBrand;
    }

    public String getMaterielSpecifications() {
        return materielSpecifications;
    }

    public void setMaterielSpecifications(String materielSpecifications) {
        this.materielSpecifications = materielSpecifications;
    }

    public String getMaterielModel() {
        return materielModel;
    }

    public void setMaterielModel(String materielModel) {
        this.materielModel = materielModel;
    }

    public String getMaterielPlace() {
        return materielPlace;
    }

    public void setMaterielPlace(String materielPlace) {
        this.materielPlace = materielPlace;
    }

    public String getMaterielState() {
        return materielState;
    }

    public void setMaterielState(String materielState) {
        this.materielState = materielState;
    }

    public String getMaterielUnit() {
        return materielUnit;
    }

    public void setMaterielUnit(String materielUnit) {
        this.materielUnit = materielUnit;
    }

    public ErpCarTireArchives getCarTireArchives() {
        return carTireArchives;
    }

    public void setCarTireArchives(ErpCarTireArchives carTireArchives) {
        this.carTireArchives = carTireArchives;
    }

    public ErpMaterielFlowMateriel getMaterielFlowMateriel() {
        return materielFlowMateriel;
    }

    public void setMaterielFlowMateriel(ErpMaterielFlowMateriel materielFlowMateriel) {
        this.materielFlowMateriel = materielFlowMateriel;
    }

    public Integer getMaterielId() {
        return materielId;
    }

    public void setMaterielId(Integer materielId) {
        this.materielId = materielId;
    }

    public Integer getMaterielNumber() {
        return materielNumber;
    }

    public void setMaterielNumber(Integer materielNumber) {
        this.materielNumber = materielNumber;
    }

    public Integer getMaterielFlowId() {
        return materielFlowId;
    }

    public void setMaterielFlowId(Integer materielFlowId) {
        this.materielFlowId = materielFlowId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(Integer warehouseId) {
        this.warehouseId = warehouseId;
    }

    public String getMaterielProductionId() {
        return materielProductionId;
    }

    public void setMaterielProductionId(String materielProductionId) {
        this.materielProductionId = materielProductionId;
    }

    public String getMaterielDot() {
        return materielDot;
    }

    public void setMaterielDot(String materielDot) {
        this.materielDot = materielDot;
    }

    public String getMaterielStorageDate() {
        return materielStorageDate;
    }

    public void setMaterielStorageDate(String materielStorageDate) {
        this.materielStorageDate = materielStorageDate;
    }

    public Double getMaterielStoragePrice() {
        return materielStoragePrice;
    }

    public void setMaterielStoragePrice(Double materielStoragePrice) {
        this.materielStoragePrice = materielStoragePrice;
    }

    public Integer getMaterielLoad() {
        return materielLoad;
    }

    public void setMaterielLoad(Integer materielLoad) {
        this.materielLoad = materielLoad;
    }

    public Integer getMaterielRefurbished() {
        return materielRefurbished;
    }

    public void setMaterielRefurbished(Integer materielRefurbished) {
        this.materielRefurbished = materielRefurbished;
    }
    

    public String getMaterielEqcode() {
		return materielEqcode;
	}

	public void setMaterielEqcode(String materielEqcode) {
		this.materielEqcode = materielEqcode;
	}

	public String getMaterielRfid() {
		return materielRfid;
	}

	public void setMaterielRfid(String materielRfid) {
		this.materielRfid = materielRfid;
	}

	@Override
    protected Serializable pkVal() {
        return this.id;
    }

}
